home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Now 11 / CD-ROM Now MegaDisc 11 (1995-02).iso / v_inst.bat < prev    next >
DOS Batch File  |  1994-10-26  |  977b  |  44 lines

  1. echo off
  2. if .%1 == . goto error
  3. cls
  4. echo V_INST.BAT
  5. echo ----------  
  6. echo .
  7. echo This batch file will install VPIC onto your %1 hard drive.
  8. echo .
  9. echo You will need approximately 500 K available on your hard drive
  10. echo to install everything.
  11. echo .
  12. echo Do you wish to install VPIC files onto your %1 hard drive?
  13. echo .
  14. echo     PRESS 'Y' FOR YES
  15. echo           'N' FOR NO
  16. echo .
  17. \utils\ask -t20 -u Your Response?:
  18. if ERRORLEVEL 89 goto yes
  19. goto quit
  20. :yes
  21.  
  22. \utils\killdir %1\VPIC r auto > nul
  23. mkdir %1\VPIC > nul
  24.  
  25. echo Uncompressing files to the %1 drive.
  26. echo This may take a minute...
  27.  
  28. copy \utils\vpic51e.zip %1\vpic > nul
  29. copy \utils\unzip.exe %1\vpic > nul
  30. copy \view.exe %1\vpic > nul
  31. \utils\make_go %1
  32. %1
  33. cd \vpic
  34. unzip -qq vpic51e.zip > nul
  35. del unzip.exe  > nul
  36. echo yy | whichvga 
  37.  
  38. goto quit
  39. :error
  40. echo "Usage: v_inst <DRIVE LETTER:>"
  41. echo .
  42. echo Example: to install VPIC onto your C: drive, use  "V_INST C:"
  43. :quit
  44. echo on